package com.zscat.mallplus.ums.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户位置信息表
 * </p>
 *
 * @author zscat
 * @since 2019-10-25
 */
@Data
@TableName("ums_member_location")
public class UmsMemberLocation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("member_id")
    private Long memberId;

    private Double longitude;

    private Double latitude;

    @TableField("user_name")
    private String userName;

    private String pic;

    @TableField("create_time")
    private Date createTime;
}
